import Vue from 'vue'
import App from './App.vue'
import router from './router'
import { Button, CellGroup, Tabbar, TabbarItem, Form, Field, NavBar, Toast, Grid, GridItem, Icon, Popup, Dialog, List, Cell, Swipe, SwipeItem, Lazyload, Search, IndexBar, IndexAnchor, Divider, Uploader, Picker, Collapse, CollapseItem, Col, Row, Sticky, Tab, Tabs } from 'vant'

// 全局注册

Vue.config.productionTip = false
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Sticky)
Vue.use(Col)
Vue.use(Row)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Picker)
Vue.use(Uploader)
Vue.use(Divider)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Search)
Vue.use(Lazyload)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(List)
Vue.use(Dialog)
Vue.use(Popup)
Vue.use(Icon)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Toast)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
